package com.peace.hospital.opdept.mapper.common;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peace.hospital.entity.common.Department;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 科室表 Mapper 接口
 * </p>
 *
 * @author 谢晓峰
 * @since 2019-11-22
 */
@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {

    @Select("select * from hospital_public.department where depid=#{deptid}")
    Department selectDepartmentBydeptId(Integer deptId);
}
